package com.kkh;

public class ThreadClass extends Thread {
	public ThreadClass(){	
	}
	private String str;
	public ThreadClass(String s){
		str=s;
	}
	public void run(){
		for (int i = 0; i < 10; i++) {
			System.out.println(str+":"+i);
			
		}
	}

}
